* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	/*设置字体*/
	font-family: 微软雅黑, Arial, Helvetica, sans-serif;
	/*背景图片*/
	background: url(../images/bg.png) no-repeat;
	background-size: 100%;
	background-color: #96CEB4;
}

ul {
	margin-bottom: 0px;
}

li {
	list-style: none;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
	color: #fff !important;
}

button,
input {
	border: 0px;
	outline: none !important;
}

.container {
	margin: 0 auto;
	/*border: 1px solid #f00;*/
	padding-left: 0;
	padding-right: 0;
}


/*导航*/

.navbar {
	width: 100%;
	position: fixed;
	top: 0px;
	box-shadow: #165246 0px 1px 5px;
	padding: 0px;
	z-index: 2;
}

.navbar-brand img {
	margin-left: 15px;
}

.navbar {
	background: #299982;
}

.nav-item {
	padding: 0 20px;
}

.navbar-nav .active {
	background: #fff;
}

.navbar-nav .active a {
	color: #299982 !important;
}

.navbar-nav li:hover {
	background: #fff;
}

.navbar-nav li:hover a {
	color: #299982 !important;
}


/*主体内容*/

.main {
	width: 1140px;
	padding: 50px;
	margin: 0 auto;
	margin-top: 30px;
	background: rgba(255, 255, 255, 0.5);
}


/*轮播*/

.banner {
	position: relative;
	height: 100%;
}

.swiper-container {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	background: #fff;
	/* Center slide text vertically */
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	-webkit-align-items: center;
	align-items: center;
}

.swiper-slide img {
	width: 100%;
}

.swiper-button-prev {
	background-image: url(../images/button-prev.png);
}

.swiper-button-next {
	background-image: url(../images/button-next.png);
}

.swiper-button-prev:hover {
	background-image: url(../images/button-prev1.png);
}

.swiper-button-next:hover {
	background-image: url(../images/button-next1.png);
}

.swiper-pagination-bullet {
	width: 15px;
	height: 15px;
	background: #fff;
}


/*个人介绍*/

.self-left {
	background: #fff;
	padding: 10px;
}

.touxiang {
	text-align: center;
}

.touxiang img {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	transition: all 1s;
}

.touxiang img:hover {
	transform: rotateY(180deg);
}

.personal {
	width: 230px;
	margin: 0 auto;
	margin-top: 20px;
}

.personal ul li {
	line-height: 35px;
	background: #F6F6F6;
	margin-bottom: 10px;
	font-size: 13px;
	border-radius: 5px;
	padding-left: 15px;
}

.use {
	width: 80%;
	background: #FFFFFF;
	border: 1px solid #299982;
	padding: 20px;
	border-radius: 20px;
	margin-top: 20px;
	margin-bottom: 40px;
	margin-left: 65px;
}

.qr-code {
	text-align: center;
}

.qr-code img {
	width: 220px;
	height: 220px;
	margin-left: 10px;
}

.self h5,
.gallery h5,
.life h5,
.photo h5 {
	color: #fff;
	line-height: 40px;
	font-weight: bold;
	background: #349075;
	padding-left: 10px;
	margin-bottom: 0px;
}

.scenic-spot .one,
.scenic-spot .two,
.scenic-spot .there,
.scenic-spot .four,
.scenic-spot .five {
	margin-bottom: 20px;
}


/*作品展示*/

.gallery h5 {
	overflow: hidden;
}

.gallery h5 a {
	float: right;
	font-size: 15px;
	color: #fff;
}

.works1,
.works2,
.works3,
.works4 {
	background: #fff;
	padding: 10px;
	transition: all 1s;
}

.works1 img,
.works2 img,
.works3 img,
.works4 img {
	width: 100%;
	height: 230px;
}

.works p {
	line-height: 40px;
	background: #1F7D6A;
	text-align: center;
}

.works p a {
	color: #fff;
}

.works .row .col-md-3:hover div {
	background: #1F7D6A;
}


/*人生感悟*/

.life1 {
	background: #fff;
	border-radius: 20px;
	padding: 5px;
	border: 1px solid #299982;
	margin-top: 20px;
}


/*家乡景区*/

.left,
.right {
	height: 240px;
	background: #fff;
	padding: 10px;
}

.left {
	margin-right: 10px;
}

.title {
	overflow: hidden;
}

.number {
	font-size: 40px;
	font-weight: bold;
	color: #c50000;
	font-style: italic;
	float: left;
	margin-top: -12px;
}

.title>a {
	font-size: 18px;
	color: #c50000;
	font-weight: bold;
}

.title>a:hover {
	color: #c50000 !important;
	text-decoration: underline;
}

.title span:last-child {
	margin-left: 10px;
}

.title span font {
	color: #FF0000;
}

.introduction .row {
	margin-left: -8px;
	margin-right: -8px;
}

.introduction .row .col-md-6 {
	padding-left: 8px;
	padding-right: 8px;
}

.introduction .img {
	width: 100%;
	height: 153px;
	overflow: hidden;
	position: relative;
}

.introduction img {
	transition: all 1s;
	/*图片放大过程的时间*/
}

.introduction img:hover {
	transform: scale(1.3);
	/*以y轴为中心旋转*/
}


/*
 -webkit-line-clamp 其实是一个不规范属性，使用了WebKit的CSS扩展属性，该方法适用于WebKit浏览器及移动端；
它用来限制在一个块元素显示的文本的行数。 为了实现该效果，它需要组合其他外来的WebKit属性
 */

.introduction .text p {
	width: 100%;
	overflow: hidden;
	/*text-overflow，可以用来多行文本的情况下，用省略号“…”隐藏超出范围的文本 。*/
	text-overflow: ellipsis;
	/*display: -webkit-box; 必须结合的属性 ，将对象作为弹性伸缩盒子模型显示 。*/
	display: -webkit-box;
	/*控制在3行*/
	-webkit-line-clamp: 9;
	/*-webkit-box-orient 必须结合的属性 ，设置或检索伸缩盒对象的子元素的排列方式 。*/
	-webkit-box-orient: vertical;
	font-size: 13px;
}


/*页脚*/

footer {
	background: #333333;
	padding-top: 20px;
	padding-bottom: 20px;
	color: #a5a4a4;
}

footer p {
	margin-bottom: 0px;
}


/*响应式*/


/*手机端*/

@media (max-width:600px) {
	.container {
		width: 100%;
	}
	.main {
		width: 100%;
		padding: 10px;
		margin-top: 40px;
	}
	.swiper-slide img {
		height: 150px;
	}
	.swiper-pagination-bullet {
		width: 10px;
		height: 10px;
	}
	/*个人信息*/
	.self-left {
		width: 100%;
	}
	.use {
		width: 100%;
		margin-left: 0px;
	}
	.qr-code img {
		margin-left: 0px;
		margin-bottom: 20px;
	}
	/*家乡景区*/
	.left,
	.right {
		height: 100%;
	}
	.left {
		margin-right: 0px;
	}
	.row {
		margin-right: 0px;
		margin-left: 0px;
	}
	.col-md-6,
	.col-md-3,
	.col-md-4,
	.col-md-8 {
		padding-right: 0px;
		padding-left: 0px;
	}
	footer {
		padding: 15px;
		font-size: 14px;
	}
}


/*平板*/

@media (max-width: 1024px) and (min-width: 601px) {
	.container {
		width: 100%;
	}
	.main {
		width: 100%;
		padding: 10px;
		margin-top: 40px;
	}
	.row {
		margin-right: -5px;
    margin-left: -5px;
	}
	.col-md-6,
	.col-md-4,
	.col-md-8 {
		padding-right: 0px;
		padding-left: 0px;
	}
	.col-md-3 {
		flex: 0 0 50%;
		max-width: 50% !important;
		padding-right: 5px;
    padding-left: 5px;
	}
	.life1 {
		height: 110px;
	}
	/*个人信息*/
	.self-left,
	.personal {
		width: 100%;
	}
	.use {
		width: 100%;
		margin-left: 35px;
	}
	.col-md-8{
		flex: 0 0 60% !important;
    max-width: 60% !important;
	}
	.qr-code img{
		width: 193px;
    height: 193px;
    margin-left: 28px;
	}
	.personal ul li{
		    line-height: 30px;
	}
	.works1 img, .works2 img, .works3 img, .works4 img{
		height: 260px;
	}
}